The request in the previous example will result in the following response from a Determinations Server.
The response is returned in a SOAP wrapper identical to the request. The response also returns all the values that were set in the request, so we can see the global and two child entity instances, and the attributes set in the request.
The attribute-outcome elements set in the request, have been returned as attributes in the response. In this case the values were known, so the attribute eligible_low_income_allowance has a boolean value of true (lines 11-13) and the attribute eligible_teenage_allowance also has the boolean value of true (lines 14-16).
1 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:i18n="http://www.w3.org/2005/09/ws-i18n" xmlns:typ="http://oracle.com/determinations/server/10.4/rulebase/assess/types">
2 <SOAP-ENV:Header>
3 <i18n:international>
4 <i18n:locale>en_US</i18n:locale>
5 <i18n:tz>GMT+0800</i18n:tz>
6 </i18n:international>
7 </SOAP-ENV:Header>
8 <SOAP-ENV:Body>
9 <typ:assess-response>
10 <typ:global-instance>
11 <typ:attribute id="eligible_low_income_allowance" type="boolean" inferred="true">
12 <typ:boolean-val>true</typ:boolean-val>
13 </typ:attribute>
14 <typ:attribute id="eligible_teenage_allowance" type="boolean" inferred="true">
15 <typ:boolean-val>true</typ:boolean-val>
16 </typ:attribute>
17 <typ:attribute id="claimant_public_housing_client" type="boolean">
18 <typ:boolean-val>true</typ:boolean-val>
19 </typ:attribute>
20 <typ:attribute id="claimant_income" type="currency">
21 <typ:number-val>13000.0</typ:number-val>
22 </typ:attribute>
23 <typ:entity id="child" inferred="false">
24 <typ:instance id="child1">
25 <typ:attribute id="child_age" type="number">
26 <typ:number-val>16.0</typ:number-val>
27 </typ:attribute>
28 </typ:instance>
29 <typ:instance id="child2">
30 <typ:attribute id="child_age" type="number">
31 <typ:number-val>8.0</typ:number-val>
32 </typ:attribute>
33 </typ:instance>
34 </typ:entity>
35 </typ:global-instance>
36 </typ:assess-response>
37 </SOAP-ENV:Body>
38 </SOAP-ENV:Envelope>
The response for the specific service returns the same answers as the generic service. It is returned in a SOAP wrapper, and also returns all the values that were set in the request.
The attribute-outcome elements set in the request, have been returned as attributes in the response. In this case the values were known, so the attribute eligible_low_income_allowance has a boolean value of true (lines 11-13) and the attribute eligible_teenage_allowance also has the boolean value of true (lines 14-16).
1 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:i18n="http://www.w3.org/2005/09/ws-i18n" xmlns:typ="http://oracle.com/determinations/server/10.4/SimpleBenefits/assess/types">
2 <SOAP-ENV:Header>
3 <i18n:international>
4 <i18n:locale>en_US</i18n:locale>
5 <i18n:tz>GMT+0800</i18n:tz>
6 </i18n:international>
7 </SOAP-ENV:Header>
8 <SOAP-ENV:Body>
9 <typ:assess-response>
10 <typ:global-instance>
11 <typ:eligible_low_income_allowance type="boolean" inferred="true">
12 <typ:boolean-val>true</typ:boolean-val>
13 </typ:eligible_low_income_allowance>
14 <typ:eligible_teenage_allowance type="boolean" inferred="true">
15 <typ:boolean-val>true</typ:boolean-val>
16 </typ:eligible_teenage_allowance>
17 <typ:claimant_public_housing_client type="boolean">
18 <typ:boolean-val>true</typ:boolean-val>
19 </typ:claimant_public_housing_client>
20 <typ:claimant_income type="currency">
21 <typ:number-val>13000.0</typ:number-val>
22 </typ:claimant_income>
23 <typ:list-child inferred="false">
24 <typ:child id="child1">
25 <typ:child_age type="number">
26 <typ:number-val>16.0</typ:number-val>
27 </typ:child_age>
28 </typ:child>
29 <typ:child id="child2">
30 <typ:child_age type="number">
31 <typ:number-val>8.0</typ:number-val>
32 </typ:child_age>
33 </typ:child>
34 </typ:list-child>
35 </typ:global-instance>
36 </typ:assess-response>
37 </SOAP-ENV:Body>
38 </SOAP-ENV:Envelope>